Typed Applicative Structures and Normalization by Evaluation for System F

نویسنده

  • Andreas Abel
چکیده

We present a normalization-by-evaluation (NbE) algorithm for System F with βη-equality, the simplest impredicative type theory with computation on the type level. Values are kept abstract and requirements on values are kept to a minimum, allowing many different implementations of the algorithm. The algorithm is verified through a general model construction using typed applicative structures, called type and object structures. Both soundness and completeness of NbE are conceived as an instance of a single fundamental theorem.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Typed Applicative Structures and Normalization by Evaluation for System Fomega

We present a normalization-by-evaluation (NbE) algorithm for System F with βη-equality, the simplest impredicative type theory with computation on the type level. Values are kept abstract and requirements on values are kept to a minimum, allowing many different implementations of the algorithm. The algorithm is verified through a general model construction using typed applicative structures, ca...

متن کامل

Type Structures and Normalization by Evaluation for System F

We present the first verified normalization-by-evaluation algorithm for System F , the simplest impredicative type theory with computation on the type level. Types appear in three shapes: As syntactical types, as type values which direct the reification process, and as semantical types, i.e., sets of total values. The three shapes are captured by the new concept of a type structure, and the fun...

متن کامل

Typeful Normalization by Evaluation

We present the first typeful implementation of Normalization by Evaluation for the simply typed λ-calculus with sums and control operators: we guarantee type preservation and η-long (modulo commuting conversions), β-normal forms using only Generalized Algebraic Data Types in a general-purpose programming language, here OCaml; and we account for finite sums and control operators with Continuatio...

متن کامل

Realizability, Covers, and Sheaves II. Applications to the Second-Order Lambda-Calculus

We present a general method for proving properties of typed λ-terms. This method is obtained by introducing a semantic notion of realizability which uses the notion of a cover algebra (as in abstract sheaf theory, a cover algebra being a Grothendieck topology in the case of a preorder). For this, we introduce a new class of semantic structures equipped with preorders, called pre-applicative str...

متن کامل

Program Extraction From Proofs of Weak Head Normalization

We formalize two proofs of weak head normalization for the simply typed lambdacalculus in first-order minimal logic: one for normal-order reduction, and one for applicative-order reduction in the object language. Subsequently we use Kreisel’s modified realizability to extract evaluation algorithms from the proofs, following Berger; the proofs are based on Tait-style reducibility predicates, and...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009